#ifndef FIRSTWIDGET_H
#define FIRSTWIDGET_H

#include <QLabel>
#include <QWidget>
#include <QPushButton>
#include <QWidget>

namespace Ui {
class FirstWidget;
}

class FirstWidget : public QWidget
{
    Q_OBJECT

public:
    explicit FirstWidget(QWidget *parent = 0);
    ~FirstWidget();

private:
    Ui::FirstWidget *ui;
    QLabel *label;
    QPushButton *mainBtn;
    QPushButton *secondBtn;
signals:
    void firstToMain();
    void firstToSecond();
private slots:

    void gotoMain();
    void gotoSecond();

};

#endif // FIRSTWIDGET_H
